package com.pimee.service.admin;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.pimee.model.SysDictData;
import com.pimee.model.vo.SysDictDataVo;
import com.pimee.service.IBaseService;

public interface ISysDictDataService extends IBaseService<SysDictData> {

	List<SysDictDataVo> selectDictDataByType(String dictType);

	String selectDictLabel(String dictType, String dictValue);

	/**
	 * 分页列表
	 * 
	 * @param params
	 * @return
	 */
	PageInfo<SysDictData> pageList(Map<String, Object> params);

	/**
	 * 新增字典
	 * 
	 * @param param
	 */
	void insertDictData(SysDictData param);

	/**
	 * 更新字典
	 * 
	 * @param dict
	 */
	void updateDictData(SysDictData param);
	
}
